package xyz.riceball.usercore.entity.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import xyz.riceball.framework.core.bean.BaseDatePO;

/**
 * 角色表(Role)表实体类
 *
 * @author xiaovcloud
 * @since 2022-04-24 20:17:48
 */
@ApiModel("角色")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_rb_role")
public class RolePO extends BaseDatePO<RolePO> {
    //主键
    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    //代码
    @ApiModelProperty(value = "角色编码")
    private String code;
    //名称
    @ApiModelProperty(value = "角色名称")
    private String name;
    //描述
    @ApiModelProperty("描述")
    private String remark;
    //状态1启用2停用
    @ApiModelProperty("状态1启用2停用")
    private Integer status;

}